package shopweb.pojo;

import java.util.Date;

public class Message {
    private Integer id;
    private Integer u_id;
    private Integer g_id;
    private Date create_time;

    private Gift gift;

    public Message() {
    }

    public Message(Integer id, Integer u_id, Integer g_id, Date create_time, Gift gift) {
        this.id = id;
        this.u_id = u_id;
        this.g_id = g_id;
        this.create_time = create_time;
        this.gift = gift;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getU_id() {
        return u_id;
    }

    public void setU_id(Integer u_id) {
        this.u_id = u_id;
    }

    public Integer getG_id() {
        return g_id;
    }

    public void setG_id(Integer g_id) {
        this.g_id = g_id;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }
    public Gift getGift() {
        return gift;
    }
    public void setGift(Gift gift) {
        this.gift = gift;
    }
}